package com.medic.service.interf;

import com.github.pagehelper.Page;
import com.medic.entity.User;





public interface UserServiceInterface extends ServiceInterface<User> {
	
	/**
	 * 
	 * 通过患者phone或name查询患者
	 * @param where
	 * @return
	 * @throws Exception
	 */
	public Page<User> getUser(int pageno,String where) throws Exception;
	
	
	/**
	 * 通过患者 id查询患者 
	 * @return
	 * @throws Exception
	 */
	public User getUser(int userid) throws Exception;
	
	
	
}

